package tech.aistar.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * 本类用来演示:
 *
 * @author: success
 * @date: 2021/1/6 9:57 上午
 */
@Data
public class Cpxx implements Serializable {
    //id int(7) primary key auto_increment,
    //name  varchar(20),
    //img_url  varchar(100),
    //price  double(7,2),
    //author  varchar(20),
    //type_id  int(7)

    //实体类的属性应该和表中的列的名称保持一致
    private String name;

    private String img_url;

    private double price;

    private String author;

    private Integer type_id;

}
